package com.zhou.bpm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhou.bpm.domain.vo.NodeApproverVo;
import com.zhou.bpm.entity.BpmNodeApprover;

import java.util.List;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/25 10:36
 */
public interface IBpmNodeApproverService extends IService<BpmNodeApprover> {

    /**
     * 通过流程编号和节点编号获取节点审批人列表
     * @param processCode
     * @param nodeCode
     * @return
     */
    List<NodeApproverVo> getNodeApproverList(String processCode, String nodeCode);

    /**
     * 移除对应全部审批人
     * @param processCode
     * @param nodeCode
     */
    void removeApprover(String processCode, String nodeCode);
}
